

package Float;


public class isInfinite {
    public static void main(String[] args) {
        Float x=23.5f;
        
        /* Muestra si el valor es infinito(true) o no (false)*/

        System.out.println(x.isInfinite() + "isInfinite");
    }
}
